package com.yang.eduauth.vo;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

import java.io.Serializable;
import java.util.HashSet;
import java.util.Map;
import java.util.Set;

/**
 * <p>
 * 
 * </p>
 *
 * @author yds
 * @since 2020-12-16
 */
@Data
@Accessors(chain = true)
public class PermissionVo {

    private String id;

    private String pid;

    private String name;

    private String path;

    private String component;

    private String redirect;

    private Boolean hidden;

    private Map<String,String> meta; //前端router需要

    private String permissionValue;

    private Integer orderNum;

    private Set<PermissionVo> children=new HashSet<PermissionVo>();


}
